Explicitly Initialize All Variables (EIAV)

Description:

Explicitly initialize all variables. The only reason not to initialize a variable where it is declared is if the initial value depends on some computation occurring first.

Incorrect:

void run() {
    int i;
    char c;
    ...
}

Correct:

void run() {
    int i = 0;
    char c = ' ';
    ...
}

Refactoring: